Optimal. Leaf size=41 \[ \frac{\left (a+b x^3\right ) \left (a^2+2 a b x^3+b^2 x^6\right )^p}{3 b (2 p+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0276851, antiderivative size = 41, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083, Rules used = {1352, 609} \[ \frac{\left (a+b x^3\right ) \left (a^2+2 a b x^3+b^2 x^6\right )^p}{3 b (2 p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1352
Rule 609
Rubi steps
\begin{align*} \int x^2 \left (a^2+2 a b x^3+b^2 x^6\right )^p \, dx &=\frac{1}{3} \operatorname{Subst}\left (\int \left (a^2+2 a b x+b^2 x^2\right )^p \, dx,x,x^3\right )\\ &=\frac{\left (a+b x^3\right ) \left (a^2+2 a b x^3+b^2 x^6\right )^p}{3 b (1+2 p)}\\ \end{align*}
Mathematica [A] time = 0.0062623, size = 32, normalized size = 0.78 \[ \frac{\left (a+b x^3\right ) \left (\left (a+b x^3\right )^2\right )^p}{3 b (2 p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 40, normalized size = 1. \begin{align*}{\frac{ \left ( b{x}^{3}+a \right ) \left ({b}^{2}{x}^{6}+2\,ab{x}^{3}+{a}^{2} \right ) ^{p}}{3\,b \left ( 1+2\,p \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.04373, size = 41, normalized size = 1. \begin{align*} \frac{{\left (b x^{3} + a\right )}{\left (b x^{3} + a\right )}^{2 \, p}}{3 \, b{\left (2 \, p + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.55186, size = 80, normalized size = 1.95 \begin{align*} \frac{{\left (b x^{3} + a\right )}{\left (b^{2} x^{6} + 2 \, a b x^{3} + a^{2}\right )}^{p}}{3 \,{\left (2 \, b p + b\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.11458, size = 78, normalized size = 1.9 \begin{align*} \frac{{\left (b^{2} x^{6} + 2 \, a b x^{3} + a^{2}\right )}^{p} b x^{3} +{\left (b^{2} x^{6} + 2 \, a b x^{3} + a^{2}\right )}^{p} a}{3 \,{\left (2 \, b p + b\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]